package com.jboa.model;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * ClaimVoucher entity. @author MyEclipse Persistence Tools
 */

public class ClaimVoucher implements java.io.Serializable {

	// Fields

	private BigDecimal id;
	private Employee employeeByNextDealSn;
	private Employee employeeByCreateSn;
	private Date createTime;
	private String event;
	private BigDecimal totalAccount;
	private String status;
	private Set claimVoucherDetails = new HashSet(0);

	// Constructors

	/** default constructor */
	public ClaimVoucher() {
	}

	/** minimal constructor */
	public ClaimVoucher(Employee employeeByCreateSn, Date createTime,
			String event, BigDecimal totalAccount, String status) {
		this.employeeByCreateSn = employeeByCreateSn;
		this.createTime = createTime;
		this.event = event;
		this.totalAccount = totalAccount;
		this.status = status;
	}

	/** full constructor */
	public ClaimVoucher(Employee employeeByNextDealSn,
			Employee employeeByCreateSn, Date createTime, String event,
			BigDecimal totalAccount, String status, Set claimVoucherDetails) {
		this.employeeByNextDealSn = employeeByNextDealSn;
		this.employeeByCreateSn = employeeByCreateSn;
		this.createTime = createTime;
		this.event = event;
		this.totalAccount = totalAccount;
		this.status = status;
		this.claimVoucherDetails = claimVoucherDetails;
	}

	// Property accessors

	public BigDecimal getId() {
		return this.id;
	}

	public void setId(BigDecimal id) {
		this.id = id;
	}

	public Employee getEmployeeByNextDealSn() {
		return this.employeeByNextDealSn;
	}

	public void setEmployeeByNextDealSn(Employee employeeByNextDealSn) {
		this.employeeByNextDealSn = employeeByNextDealSn;
	}

	public Employee getEmployeeByCreateSn() {
		return this.employeeByCreateSn;
	}

	public void setEmployeeByCreateSn(Employee employeeByCreateSn) {
		this.employeeByCreateSn = employeeByCreateSn;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getEvent() {
		return this.event;
	}

	public void setEvent(String event) {
		this.event = event;
	}

	public BigDecimal getTotalAccount() {
		return this.totalAccount;
	}

	public void setTotalAccount(BigDecimal totalAccount) {
		this.totalAccount = totalAccount;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set getClaimVoucherDetails() {
		return this.claimVoucherDetails;
	}

	public void setClaimVoucherDetails(Set claimVoucherDetails) {
		this.claimVoucherDetails = claimVoucherDetails;
	}

}